package com.raise.drive.model.domain;

/**
 * Is an assessment of the question. Some users could vote for question and we should know who, when
 * and summary votes of the question.
 *
 * Author: Evgeny Morozov
 */
public class Rating extends Persistent {

    /**
     * Value of the rating
     */
    private double value;

    /**
     * Who gave this rating.
     */
    private User byWhom;

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public User getByWhom() {
        return byWhom;
    }

    public void setByWhom(User byWhom) {
        this.byWhom = byWhom;
    }
}
